.PHONY:all
all:client server

client:client.cpp 
	g++ -w -g -o $@ $^ -std=c++11 -lpthread -lmuduo_net -lmuduo_base -lprotobuf -lz
server:server.cpp 
	g++ -w -g -o $@ $^ -std=c++11 -lpthread -lmuduo_net -lmuduo_base -lprotobuf -lz
.PHONY:clean
clean:
	rm -rf client server